﻿using System.Threading.Tasks;
using SDCloudSolution.SDCloud.Entities.Models.Data;

namespace SDCloudSolution.SDCloud.BusinessLayer.ModelData.Interfaces
{
    public interface IModelExecutionResultComponent
    {
        Task<ModelResultDataEntity> GetResultsDataByModelExecutionId(int modelExecutionId);

        Task<ModelResultDataEntity> GetResultsDataByModelExecutionIdAsync(int modelExecutionId, int framesSkipCount, int framesLimitCount);

        Task<ModelResultDataEntity> GetResultsDataByModelExecutionIdWithTimeFilter(int modelExecutionId, double? timeStart, double? timeEnd);

        Task InsertExecutionResutls(ModelResultDataEntity entity);
    }
}
